home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / applications / 2463 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  4.0 KB

  1. Path: soap.news.pipex.net!pipex!usenet
  2. From: m.hendry@dial.pipex.com (Mathew Hendry)
  3. Newsgroups: comp.sys.amiga.applications
  4. Subject: Re: Executive and AmiTCP..
  5. Date: Mon, 26 Feb 96 02:00:25
  6. Organization: Private node.
  7. Distribution: world
  8. Message-ID: <19960226.543380.2124@an174.du.pipex.com>
  9. References: <778.6621T1384T1708@moor.slip.uky.edu> <4gahsu$5fm@tkhut.sojourn.com> <709.6624T80T1806@moor.slip.uky.edu> <1054.6629T1036T365@iag.net>
  10. NNTP-Posting-Host: an174.du.pipex.com
  11. X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
  12.  
  13. Joseph Shaughnessy (serendip@iag.net) wrote:
  14. : Re: Executive and AmiTCP..Walter R FrancisWally@moor.slip.uky.edu20-Feb-96
  15. : 11:20:36
  16. :  WRF> On 19-Feb-96 14:09:18, Matt Harrell articulated:
  17. : >>I don't get it.  I am using Executive and the demo version of AmiTCP,
  18. : >>and I haven't noticed anything nasty.  What, exactly, is the problem?
  19. :  WRF> It makes all of the connections crawl to a halt, so bad FTP times out an
  20. :  WRF> other connections do the same.
  21. :  WRF> If I run AmiTCP without Executive, it's okay..  I run Executive everythi
  22. :  WRF> crawls..  Ex running, run AmiTCP, crawls..  Quit Ex it goes back to norm
  23. :  WRF> Could be something in my setup, but it seems to change some priorities A
  24. :  WRF> needs, even through I have it ignoring AmiTCP..
  25.  
  26. Of course. The startnet script launches several tasks other than AmiTCP itself -
  27. inetd, INET (the INET: device driver), NETTRACE, and any other active daemons
  28. you may have running, such as httpd, fspd, smtpd etc.
  29.  
  30. (device drivers are also launched, but these start up with a priority above
  31. Executive's default catch range, and so will not normally be sheduled anyway).
  32.  
  33. Apart from NETTRACE, none of these are childtasks of the AmiTCP task, so
  34. you cannot use Executive's TASK+CHILDTASKS option to prevent them from being
  35. sheduled. You will have to add a line for each one to Executive Prefs
  36. manually. So do a ps listing, start up AmiTCP, do a ps listing again, and add
  37. any new tasks which have appeared to Executive's prefs.
  38.  
  39. Quite _why_ the AmiTCP tasks grind to a halt when you use Executive is a
  40. mystery to me, though. I've never had any such problems. The only thing I can
  41. think of is that you are running some other CPU intensive task at the same
  42. time as AmiTCP, and are allowing this task too much CPU time.
  43.  
  44. :  WRF> I'm not saying it's a problem with Executive. :)
  45. :  On a similar note, and possibly related, Blitzblank will do the same things
  46. : as cited above. I finally put a line to kill Blitzblank into my startnet
  47. : script for AmiTCP. Does Executive watch/monitor the same areas/registers that
  48. : Blitzblank looks at to put up a screen blanker?
  49.  
  50. No, but many of BlitzBlank's blanker modules are very CPU intensive. If you
  51. don't shedule BlitzBlank properly, it's likely to steal a lot of CPU time
  52. from other tasks. I never found a "perfect" solution to this myself, so I
  53. went back to using the simple old C= blanker, which doesn't eat _any_ CPU
  54. time.
  55.  
  56. While I was trying to get BlitzBlank to work, the two best alternatives I
  57. found were:
  58.  
  59. BlitzBlank TASK+CHILDTASKS NOSHEDULE BELOW
  60. BlitzBlank TASK+CHILDTASKS SHEDULE NICE=+20
  61.  
  62. Both of these have problems. The first will stop BlitzBlank from responding
  63. to a mouse movement / keypress if another task is using all available CPU time
  64. (e.g. if you have a 3D render running). The second will help BlitzBlank's
  65. responsiveness somewhat, but on the downside it will start consuming CPU time
  66. which might be better spent on other tasks which you may have running in the
  67. background.
  68.  
  69. Fancy screen blankers are a tricky type of program to handle, because they use
  70. a lot of CPU time, _and_ must be very responsive to user input.
  71.  
  72. The only way to fix it completely would be to add a capability to BlitzBlank
  73. to keep an eye on Executive's CPU load stats, so that it could switch to
  74. another blanking method which consumes less or no CPU time when the total
  75. CPU load reaches a preset threshold. BlitzBlank does have its own "Watch CPU"
  76. option, but it doesn't work properly when Executive is running.
  77.  
  78. -- Mat.
  79.